﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001045 RID: 4165
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class RogueTournLeaveScRsp : IMessage<RogueTournLeaveScRsp>, IMessage, IEquatable<RogueTournLeaveScRsp>, IDeepCloneable<RogueTournLeaveScRsp>, IBufferMessage
	{
		// Token: 0x17003495 RID: 13461
		// (get) Token: 0x0600BA1B RID: 47643 RVA: 0x001F5ADF File Offset: 0x001F3CDF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<RogueTournLeaveScRsp> Parser
		{
			get
			{
				return RogueTournLeaveScRsp._parser;
			}
		}

		// Token: 0x17003496 RID: 13462
		// (get) Token: 0x0600BA1C RID: 47644 RVA: 0x001F5AE6 File Offset: 0x001F3CE6
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return RogueTournLeaveScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003497 RID: 13463
		// (get) Token: 0x0600BA1D RID: 47645 RVA: 0x001F5AF8 File Offset: 0x001F3CF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return RogueTournLeaveScRsp.Descriptor;
			}
		}

		// Token: 0x0600BA1E RID: 47646 RVA: 0x001F5AFF File Offset: 0x001F3CFF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournLeaveScRsp()
		{
		}

		// Token: 0x0600BA1F RID: 47647 RVA: 0x001F5B08 File Offset: 0x001F3D08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournLeaveScRsp(RogueTournLeaveScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.rogueTournCurSceneInfo_ = ((other.rogueTournCurSceneInfo_ != null) ? other.rogueTournCurSceneInfo_.Clone() : null);
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600BA20 RID: 47648 RVA: 0x001F5B54 File Offset: 0x001F3D54
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournLeaveScRsp Clone()
		{
			return new RogueTournLeaveScRsp(this);
		}

		// Token: 0x17003498 RID: 13464
		// (get) Token: 0x0600BA21 RID: 47649 RVA: 0x001F5B5C File Offset: 0x001F3D5C
		// (set) Token: 0x0600BA22 RID: 47650 RVA: 0x001F5B64 File Offset: 0x001F3D64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x17003499 RID: 13465
		// (get) Token: 0x0600BA23 RID: 47651 RVA: 0x001F5B6D File Offset: 0x001F3D6D
		// (set) Token: 0x0600BA24 RID: 47652 RVA: 0x001F5B75 File Offset: 0x001F3D75
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RogueTournCurSceneInfo RogueTournCurSceneInfo
		{
			get
			{
				return this.rogueTournCurSceneInfo_;
			}
			set
			{
				this.rogueTournCurSceneInfo_ = value;
			}
		}

		// Token: 0x0600BA25 RID: 47653 RVA: 0x001F5B7E File Offset: 0x001F3D7E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as RogueTournLeaveScRsp);
		}

		// Token: 0x0600BA26 RID: 47654 RVA: 0x001F5B8C File Offset: 0x001F3D8C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(RogueTournLeaveScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && object.Equals(this.RogueTournCurSceneInfo, other.RogueTournCurSceneInfo) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600BA27 RID: 47655 RVA: 0x001F5BDC File Offset: 0x001F3DDC
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num ^= this.RogueTournCurSceneInfo.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600BA28 RID: 47656 RVA: 0x001F5C31 File Offset: 0x001F3E31
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600BA29 RID: 47657 RVA: 0x001F5C39 File Offset: 0x001F3E39
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600BA2A RID: 47658 RVA: 0x001F5C44 File Offset: 0x001F3E44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(16);
				output.WriteUInt32(this.Retcode);
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				output.WriteRawTag(74);
				output.WriteMessage(this.RogueTournCurSceneInfo);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600BA2B RID: 47659 RVA: 0x001F5CA0 File Offset: 0x001F3EA0
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			if (this.rogueTournCurSceneInfo_ != null)
			{
				num += 1 + CodedOutputStream.ComputeMessageSize(this.RogueTournCurSceneInfo);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600BA2C RID: 47660 RVA: 0x001F5CF8 File Offset: 0x001F3EF8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(RogueTournLeaveScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			if (other.rogueTournCurSceneInfo_ != null)
			{
				if (this.rogueTournCurSceneInfo_ == null)
				{
					this.RogueTournCurSceneInfo = new RogueTournCurSceneInfo();
				}
				this.RogueTournCurSceneInfo.MergeFrom(other.RogueTournCurSceneInfo);
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600BA2D RID: 47661 RVA: 0x001F5D60 File Offset: 0x001F3F60
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600BA2E RID: 47662 RVA: 0x001F5D6C File Offset: 0x001F3F6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 16U)
				{
					if (num != 74U)
					{
						this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
					}
					else
					{
						if (this.rogueTournCurSceneInfo_ == null)
						{
							this.RogueTournCurSceneInfo = new RogueTournCurSceneInfo();
						}
						input.ReadMessage(this.RogueTournCurSceneInfo);
					}
				}
				else
				{
					this.Retcode = input.ReadUInt32();
				}
			}
		}

		// Token: 0x04004AFF RID: 19199
		private static readonly MessageParser<RogueTournLeaveScRsp> _parser = new MessageParser<RogueTournLeaveScRsp>(() => new RogueTournLeaveScRsp());

		// Token: 0x04004B00 RID: 19200
		private UnknownFieldSet _unknownFields;

		// Token: 0x04004B01 RID: 19201
		public const int RetcodeFieldNumber = 2;

		// Token: 0x04004B02 RID: 19202
		private uint retcode_;

		// Token: 0x04004B03 RID: 19203
		public const int RogueTournCurSceneInfoFieldNumber = 9;

		// Token: 0x04004B04 RID: 19204
		private RogueTournCurSceneInfo rogueTournCurSceneInfo_;
	}
}
